package com.tourism.admin.service;import com.tourism.admin.dao.ConfigAPI;import com.tourism.admin.entity.Config;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpSession;import java.util.List;/** * @author wanglinli * at 18-4-10 下午9:14 * 注释: */@Servicepublic class ConfigService {    @Autowired    private ConfigAPI configAPI;    public Config getConfigByID(Integer id){        return configAPI.getConfigByID(id);    }    public Config getConfigByConfigName(String configname){        return configAPI.getConfigByConfigName(configname);    }    public List<Config> getConfigBy(){        return configAPI.getConfigBy();    }    public Integer updateConfig(String parameter, String type){return configAPI.updateConfig(parameter, type);}}